package com.zhongshengnetwork.rightbe.dbmodel;

import org.xutils.db.annotation.Column;
import org.xutils.db.annotation.Table;

/**
 * Created by zhongsheng-luojianlan on 16/11/9.
 */
@Table(name = "groupinfodb")
public class GroupdbModel {
    @Column(name = "id",isId = true)
    private String id;//userid+groupid
    @Column(name = "userid")
    private String userid;//登录用户
    @Column(name = "ownerid")//团长
    private String ownerid;
    @Column(name = "groupid")
    private String groupid;
    @Column(name = "name")
    private String name;
    @Column(name = "header")
    private String header;
    @Column(name = "report")
    private String report;
    @Column(name = "asyntime")
    private String asyntime;//上次群成员同步时间
    @Column(name = "state")
    private String state;//0-未保存到通讯录 1-保存到通讯录 2-已经解散
    @Column(name = "auth")
    private int auth;//认证状态
    @Column(name = "tip")
    private String tip;//新消息通知

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getOwnerid() {
        return ownerid;
    }

    public void setOwnerid(String ownerid) {
        this.ownerid = ownerid;
    }

    public String getGroupid() {
        return groupid;
    }

    public void setGroupid(String groupid) {
        this.groupid = groupid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getHeader() {
        return header;
    }

    public void setHeader(String header) {
        this.header = header;
    }

    public String getReport() {
        return report;
    }

    public void setReport(String report) {
        this.report = report;
    }

    public String getAsyntime() {
        return asyntime;
    }

    public void setAsyntime(String asyntime) {
        this.asyntime = asyntime;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public int getAuth() {
        return auth;
    }

    public void setAuth(int auth) {
        this.auth = auth;
    }

    public String getTip() {
        return tip;
    }

    public void setTip(String tip) {
        this.tip = tip;
    }
}
